<?php
/**
 * Created by PhpStorm.
 * User: ytl003
 * Date: 2018/9/26
 * Time: 下午10:19
 */

namespace app\api\service;


use EasyWeChat\Factory;

class WxService
{
    /**
     * @return \EasyWeChat\MiniProgram\Application
     */
    public static function app(){
        $config = config('wx.config');
        return Factory::miniProgram($config);
    }

}